<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户列表</title>
</head>
<body>

<h2>用户管理页面</h2>
<%
	String aid=request.getParameter("aid");
	String pass=request.getParameter("password");
%>
<a href="admin_adminCMD.action?aid=${aid }&pass=${password }">返回控制台</a>
<s:form action="admin_search.action"  method="post">
	<s:textfield label="输入搜索信息" name="msg"/>
	<s:hidden name="admin.aid"/>
	<s:hidden name="admin.password"/>
	<s:submit value="搜索"/>
</s:form>
<s:iterator value="#ul.datas">
	学号：${stuID}<br>
	昵称：${username }<br>
	<a href="admin_userinfo.action?user.uid=${uid}&admin.aid=<%=aid%>&admin.password=<%=pass%>">详细信息</a>
	<br>
	<br>
</s:iterator>

<jsp:include page="/inc/pager.jsp">
	<jsp:param value="admin_userlist.action" name="url"/>
	<jsp:param value="${ul.totalRecord }" name="items"/>
</jsp:include>

</body>
</html>